package com.milhouz.bomberrokon.util;


public class TileUtils {

	public static int convertSolid2Tile(float coord, int tileSize, int origin) {
		// Log.d("BOMBER", ">" + ((coord - origin) / tileSize));
		return (int) Math.floor((coord - origin) / tileSize);
	}

	public static int convertTile2Solid(int coord, int tileSize, int origin) {
		return (coord * tileSize) + origin;
	}

}
